package com.zhao.controller;

import com.zhao.common.aop.Sign;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("v1/account")
public class AccountController {

    @Sign
    @GetMapping("/getAccount")
    public String getAccount(String name) {
        return "getAccount" + name;
    }

    @Sign
    @PostMapping("/postAccount")
    public String postAccount(@RequestBody String name) {
        return "postAccount" + name;
    }

}
